<?php
require("../../../class2.php");
require("../library/admin/adminapi.php");

if(!getperms("P")){header("location:".e_BASE."index.php"); exit; }
require_once(e_ADMIN."auth.php");
//
// Process the Form
//


if($_POST["subbed"])
{
    e107shop_process_postage_regions($_POST["faction"], $_POST["region_name"], $_POST["postage_price"], 
    $_POST["postage_extra"], $_POST["region"]);
}

//
// Display the list of products
//
e107shop_postage_list_regions();

//
// Display the form
//
e107shop_manage_postage($_GET["a"], $_GET["p"]);

require_once(e_ADMIN."footer.php");
